set(core_test_main_files
	core_test.cpp
)

set(core_test_all_files
	${common_misc_files}
	${core_test_main_files}
)

add_executable(core_test ${core_test_all_files})
add_tests_target(core_test)

set(core_target_libs core gtest gtest_main)

if(UNIX)
set(core_target_libs ${core_target_libs} pthread)
endif()
target_link_libraries (core_test ${core_target_libs})

add_common_properties(core_test "core/tests")

add_test(core_test core_test)